package com.yaorange.module.system.repository;

import com.yaorange.module.vo.SysUserPageVo;
import com.yaorange.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 15332
 * @version 1.0
 * @date 2025/6/16 17:14
 * @description 用户实体数据访问层
 */
public interface SysUserRepository {
  SysUser selectList(@Param("id") Long id);

  int insertList(SysUser user);

  List<SysUser> queryList(SysUserPageVo userPageVo);

  int updateList(SysUser user);

  int deleteList(@Param("id") Long id);

    SysUser selectByName(@Param("username") String username);
}
